package com.lzdongrui.backend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lzdongrui.common.annotation.Excel;
import com.lzdongrui.common.core.domain.BaseEntity;

/**
 * 请假审核对象 apply_leave_audit
 *
 * @author wyh
 * @date 2023-05-19
 */
public class ApplyLeaveAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 申请表id */
    @Excel(name = "申请表id")
    private Long applyLeaveId;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long audit;

    /** 审核人名字 */
    @Excel(name = "审核人名字")
    private String auditName;

    /** 审核理由 */
    @Excel(name = "审核理由")
    private String reason;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setApplyLeaveId(Long applyLeaveId)
    {
        this.applyLeaveId = applyLeaveId;
    }

    public Long getApplyLeaveId()
    {
        return applyLeaveId;
    }
    public void setAudit(Long audit)
    {
        this.audit = audit;
    }

    public Long getAudit()
    {
        return audit;
    }
    public void setAuditName(String auditName)
    {
        this.auditName = auditName;
    }

    public String getAuditName()
    {
        return auditName;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("applyLeaveId", getApplyLeaveId())
                .append("audit", getAudit())
                .append("auditName", getAuditName())
                .append("reason", getReason())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("status", getStatus())
                .toString();
    }
}